import {call,put} from 'redux-saga/effects'
import axios from 'axios'
function* count(){
    const data=yield call(axios.get,"https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata")
    yield put({type:"Setcount",data:data.data.message})
}
export default count